package com.ylb.rent.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ylb.rent.entity.Role;
import com.ylb.rent.entity.vo.RoleVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @AUTHOR:游李滨
 * @DATE:2023/6/28 21:18
 */
@Repository
public interface RoleDao extends BaseMapper<Role> {

    Role selectRoleById(long id);
    List<Role> selectAll();

}
